package com.ctshk.sapp.stamp.controller;


import com.ctshk.common.dto.Result;
import com.ctshk.common.web.support.BaseController;
import com.ctshk.rpc.stamp.req.LevyRequest;
import com.ctshk.rpc.stamp.service.ILevyService;
import io.swagger.annotations.ApiOperation;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 缴纳印花税 前端控制器
 * </p>
 *
 * @author 谢涛
 * @since 2021-01-25
 */
@RestController
@RequestMapping("/levy")
public class LevyController extends BaseController {

    @DubboReference
    private ILevyService levyService;

    @ApiOperation(value = "缴纳印花税", notes = "缴纳印花税")
    @PostMapping("/levyEFrank")
    public Result levyEFrank(@RequestBody LevyRequest req) {
        return levyService.levyEFrank(req);
    }

}
